﻿@{
    Layout = null;
    DeliveryManage.Models.ReturnMsgModel returnMsg = ViewBag.ReturnMsgModel;
    DeliveryManage.Models.EmployeePerformance todayInfo = ViewBag.TodayPerformance;
    DeliveryManage.Models.EmployeePerformance monthInfo = ViewBag.MonthPerformance;
}
<!DOCTYPE html>
<html class="x-admin-sm">
<head>
    <meta charset="UTF-8">
    <title>我的业绩信息</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,initial-scale=1.0,user-scalable=no" />
    <link rel="stylesheet" href="~/Content/font.css">
    <link rel="stylesheet" href="~/Content/framemain.css">
    <link rel="stylesheet" href="~/Content/pagination.css" />
    <script type="text/javascript" src="~/Content/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="~/Scripts/jquery-3.3.1.min.js"></script>
    <script type="text/javascript" src="~/Scripts/common.js"></script>
    <script type="text/javascript" src="~/Scripts/framemain.js"></script>
    <script src="~/Scripts/jquery.unobtrusive-ajax.js"></script>
    <style>
        .layui-table img {
            max-width: inherit;
        }

        .pro-img {
            border-radius: 5px;
            border: 1px solid #f2f2f2;
        }
    </style>
</head>
<body>
    <form id="myfrom" class="tab-content layui-form" action="" lay-filter="example">
        @{
            <div class="x-nav">
                <span class="layui-breadcrumb">
                    <a href="javascript:;">首页</a>
                    <a><cite>我的业绩信息</cite></a>
                </span>
                <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" onclick="location.reload()" title="刷新">
                    <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i>
                </a>
            </div>
            if (returnMsg.code == 200)
            {
                <div class="layui-fluid">
                    <div class="layui-row layui-col-space15">
                        <div class="layui-col-md12">
                            <div class="layui-card">
                                <div class="layui-card-body ">
                                    <blockquote class="layui-elem-quote">本日业绩信息</blockquote>
                                </div>
                            </div>
                        </div>

                        <div class="layui-col-md12">
                            <div class="layui-card">
                                <div class="layui-card-header">当前日期：@DateTime.Now.ToString("yyyy年MM月dd日")</div>

                                <div class="layui-card-body ">
                                    <ul class="layui-row layui-col-space10 layui-this x-admin-carousel x-admin-backlog">
                                        <li class="layui-col-xs4">
                                            <a title="" href="javascript:;" class="x-admin-backlog-body">
                                                <h2 style="color: black;">总业绩</h2>
                                                <p><cite style="color: #691818;">@todayInfo.TotalFinalAmount (元)</cite></p>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs4">
                                            <a title="" href="javascript:;" class="x-admin-backlog-body">
                                                <h2 style="color: black;">新单业绩</h2>
                                                <p><cite style="color: #691818;">@todayInfo.NewOrderAmount.ToString("F2") (元)</cite></p>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs4">
                                            <a title="" href="javascript:;" class="x-admin-backlog-body">
                                                <h2 style="color: black;">复购单业绩</h2>
                                                <p><cite style="color: #691818;">@todayInfo.RepurchaseOrderAmount.ToString("F2") (元)</cite></p>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs4">
                                            <a title="" href="javascript:;" class="x-admin-backlog-body">
                                                <h2 style="color: black;">录单数量</h2>
                                                <p><cite style="color: #691818; ">@todayInfo.AddOrderNum (个)</cite></p>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs4">
                                            <a title="" href="javascript:;" class="x-admin-backlog-body">
                                                <h2 style="color: black;">新单数量</h2>
                                                <p><cite style="color: #691818; ">@todayInfo.NewOrderNum (个)</cite></p>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs4">
                                            <a title="" href="javascript:;" class="x-admin-backlog-body">
                                                <h2 style="color: black;">复购单数量</h2>
                                                <p><cite style="color: #691818; ">@todayInfo.RepurchaseOrder (个)</cite></p>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs4">
                                            <a title="" href="javascript:;" class="x-admin-backlog-body">
                                                <h2 style="color: black;">送酒次数</h2>
                                                <p><cite style="color: #691818; ">@todayInfo.GiftFrequency (次)</cite></p>
                                            </a>
                                        </li>
                                        @*<li class="layui-col-xs4">
                                                <a title="" href="javascript:;" class="x-admin-backlog-body">
                                                    <h2 style="color: black;">套餐总金额</h2>
                                                    <p><cite style="color: #691818; ">@todayInfo.TotalGoodsAmount (元)</cite></p>
                                                </a>
                                            </li>
                                            <li class="layui-col-xs4">
                                                <a title="" href="javascript:;" class="x-admin-backlog-body">
                                                    <h2 style="color: black;">套餐加价总额</h2>
                                                    <p><cite style="color: #691818; ">@todayInfo.TotalAddPrice (元)</cite></p>
                                                </a>
                                            </li>
                                            <li class="layui-col-xs4">
                                                <a title="" href="javascript:;" class="x-admin-backlog-body">
                                                    <h2 style="color: black;">运费加价总额</h2>
                                                    <p><cite style="color: #691818; ">@todayInfo.TotalFreight (元)</cite></p>
                                                </a>
                                            </li>*@
                                    </ul>
                                </div>
                            </div>
                        </div>

                        <div class="layui-col-md12">
                            <div class="layui-card">
                                <div class="layui-card-body ">
                                    <blockquote class="layui-elem-quote">本月业绩信息</blockquote>
                                </div>
                            </div>
                        </div>

                        <div class="layui-col-md12">
                            <div class="layui-card">
                                <div class="layui-card-header">当前月份：@DateTime.Now.Month 月</div>

                                <div class="layui-card-body ">
                                    <ul class="layui-row layui-col-space10 layui-this x-admin-carousel x-admin-backlog">
                                        <li class="layui-col-xs4">
                                            <a title="" href="javascript:;" class="x-admin-backlog-body">
                                                <h2 style="color: black;">本月总业绩</h2>
                                                <p><cite style="color: #691818;">@monthInfo.TotalFinalAmount.ToString("F2") (元)</cite></p>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs4">
                                            <a title="" href="javascript:;" class="x-admin-backlog-body">
                                                <h2 style="color: black;">新单业绩</h2>
                                                <p><cite style="color: #691818; ">@monthInfo.NewOrderAmount.ToString("F2") (元)</cite></p>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs4">
                                            <a title="" href="javascript:;" class="x-admin-backlog-body">
                                                <h2 style="color: black;">复购单业绩</h2>
                                                <p><cite style="color: #691818; ">@monthInfo.RepurchaseOrderAmount.ToString("F2") (元)</cite></p>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs4">
                                            <a title="" href="javascript:;" class="x-admin-backlog-body">
                                                <h2 style="color: black;">本月总单量</h2>
                                                <p><cite style="color: #691818; ">@monthInfo.AddOrderNum (个)</cite></p>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs4">
                                            <a title="" href="javascript:;" class="x-admin-backlog-body">
                                                <h2 style="color: black;">新单数量</h2>
                                                <p><cite style="color: #691818; ">@monthInfo.NewOrderNum (个)</cite></p>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs4">
                                            <a title="" href="javascript:;" class="x-admin-backlog-body">
                                                <h2 style="color: black;">复购单数量</h2>
                                                <p><cite style="color: #691818; ">@monthInfo.RepurchaseOrder (个)</cite></p>
                                            </a>
                                        </li>
                                        @*<li class="layui-col-xs4">
                                            <a title="" href="javascript:;" class="x-admin-backlog-body">
                                                <h2 style="color: black;">套餐总金额</h2>
                                                <p><cite style="color: #691818; ">@monthInfo.TotalGoodsAmount (元)</cite></p>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs4">
                                            <a title="" href="javascript:;" class="x-admin-backlog-body">
                                                <h2>套餐加价总额</h2>
                                                <p><cite style="color: #691818; ">@monthInfo.TotalAddPrice (元)</cite></p>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs4">
                                            <a title="" href="javascript:;" class="x-admin-backlog-body">
                                                <h2 style="color: black;">运费加价总额</h2>
                                                <p><cite style="color: #691818; ">@monthInfo.TotalFreight (元)</cite></p>
                                            </a>
                                        </li>*@
                                        <li class="layui-col-xs4">
                                            <a title="" href="javascript:;" class="x-admin-backlog-body">
                                                <h2 style="color: black;">送酒次数</h2>
                                                <p><cite style="color: #691818; ">@monthInfo.GiftFrequency (次)</cite></p>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs4">
                                            <a title="" href="javascript:;" class="x-admin-backlog-body">
                                                <h2 style="color: #691818;">本月累计提成</h2>
                                                <p><cite style="color: red; ">@monthInfo.MyPerformanceAmount.ToString("F2") (元)</cite></p>
                                            </a>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            }
        }
    </form>
    <script type="text/javascript">
        layui.use(['laydate', 'form'], function () {
            var laydate = layui.laydate;
            var form = layui.form;
        });
    </script>
</body>
</html>
